﻿<%@ Page Title="Email templatemanager" Language="C#" ValidateRequest="false" MasterPageFile="~/Administration/Admin.master" AutoEventWireup="true" CodeFile="EmailTemplates.aspx.cs" Inherits="Administration_EmailTemplates" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
<h3><asp:Localize runat="server" ID="loc1" Text="<%$ Resources:stringsRes, pge_adm_EmailTemplates %>" /></h3>
<p>
    <asp:Localize runat="server" ID="Localize6" Text="<%$ Resources:stringsRes, pge_adm_EmailTemplateDescription%>" />
</p>
        <div class="menu-box-header">
         
        <ul class="content-box-tabs">
            <li><asp:LinkButton runat="server" ID="t1" OnCommand="Action" CausesValidation="false" CommandName="tab1" Text="<%$ Resources:stringsRes, adm_Navigation_EmailTemplates%>" CssClass="default-tab" /></li>
            <li><asp:LinkButton runat="server" ID="t2" OnCommand="Action" CausesValidation="false" CommandName="tab2" Text="<%$ Resources:stringsRes, adm_Navigation_NewEdit%>" /></li>
        </ul>
        </div>
        <div class="clear"></div>
  
        <asp:Multiview runat="server" ID="multiview" ActiveViewIndex="0">
           
            <asp:View runat="server" ID="view1">
                <asp:GridView runat="server" ID="gwTemplates" CssClass="admTable" DataKeyNames="Guid" OnRowCommand="Action" AutoGenerateColumns="false">
                    <Columns>
                        <asp:BoundField DataField="Title" HeaderText="Title" />
                        <asp:BoundField DataField="Subject" HeaderText="Subject" />
                        <asp:ButtonField ButtonType="Link" CommandName="edit_data" ItemStyle-Width="20px" ControlStyle-CssClass="btnEdit"/>
                        <asp:ButtonField ButtonType="Link" CommandName="delete_data" ItemStyle-Width="20px" ControlStyle-CssClass="btnDelete"  />
                    </Columns>
                </asp:GridView>
            </asp:View>
            
            
            <asp:View runat="server" ID="view2">
                <br /><asp:Button runat="server" ID="btnSave" OnCommand="Action" CssClass="button" CommandName="save_data" Text="Save" />   <br />
                <asp:Literal runat="server" id="litMessage" />
                <p><label><asp:Localize runat="server" ID="Localize1" Text="<%$ Resources:stringsRes, pge_adm_InternalTitle %>" /></label><asp:TextBox runat="server" ID="txtTitle" CssClass="text-input small-input" /> <asp:RequiredFieldValidator runat="server" ID="stitle" ControlToValidate="txtTitle" ErrorMessage="*" /></p>
                <p><label><asp:Localize runat="server" ID="Localize2" Text="<%$ Resources:stringsRes, pge_adm_EmailSubject %>" /></label><asp:TextBox runat="server" ID="txtSubject" CssClass="text-input small-input" /> <asp:RequiredFieldValidator runat="server" ID="subject" ControlToValidate="txtSubject" ErrorMessage="*" /></p>
                <p><label><asp:Localize runat="server" ID="Localize3" Text="<%$ Resources:stringsRes, pge_adm_UniqueEnglishTitle %>" /></label><asp:TextBox runat="server" CssClass="text-input small-input" ID="txtTitleUnique" /> <asp:RequiredFieldValidator runat="server" ID="uniqe" ControlToValidate="txtTitleUnique" ErrorMessage="*" /></p>
                <p><label><asp:Localize runat="server" ID="Localize4" Text="<%$ Resources:stringsRes, pge_adm_TagsToUse %>" /></label><asp:TextBox runat="server" id="txtDescription" TextMode="MultiLine" Height="150" /></p>
                <p><label><asp:Localize runat="server" ID="Localize5" Text="<%$ Resources:stringsRes, pge_adm_MailBody %>" /></label><asp:TextBox runat="server" id="txtFileContent" TextMode="MultiLine" Height="200" /></p>
            </asp:View>
        
        </asp:Multiview>


</asp:Content>

